export const searchText = state => state.searchText;
export const qqKf = state => state.qqKf;
export const subStation = state => {
    return state.subStation;
}
export const user = state => {
    return state.user || JSON.parse(localStorage.user || '{}')
};
export const menuActive = (state) => {
    return state.menuActive
};
export const indexTypes = (state) => {
    if (state.indexTypes.hasOwnProperty('tuijian_fenlei')) {
        return state.indexTypes
    } else {
        return JSON.parse(localStorage.indexTypes || '{}')
    }

};

